import {createRouter,createWebHistory} from "vue-router"

import { routes } from "./commonRouter";

 const router = createRouter({
    history: createWebHistory(),
    routes, // `routes: routes` 的缩写
  })
export const setUpRouter=(app)=>{
  app.use(router)
}